/**
 * 发票API
 */
import { http, Method } from "@/utils/request.js";
import api from "@/config/api.js";
/**
 * 发票
 * 
 */
export function ticket() {
  return http.request({
    url: `/api/user/ticket`,
    method: Method.GET
  });
}

export function ticketAdd(data) {
  return http.request({
    url: `/api/user/ticketAdd`,
    method: Method.POST,
	data
  });
}